<template>
    <h3>ComponentA</h3>
    <p>ComponentAComponentAComponentAComponentA</p>
</template>

<script>
export default {
    beforeUnmount() {
        console.log("A组件销毁之前");
    },
    unmounted() {
        console.log("A组件销毁之后");
    }
}
</script>

<style scoped></style>